<template>
  <div>
    <mt-swipe :auto="3000">
      <!--<mt-swipe-item v-for="(item,key) in imgList" :key="key">-->
      <!--<img :src="item.src">-->
      <!--</mt-swipe-item>-->
      <mt-swipe-item>
        <a href="http://www.baidu.com">
          <img :src="src1">
        </a>
      </mt-swipe-item>
      <mt-swipe-item>
        <a href="http://www.baidu.com">
          <img :src="src2">
        </a>
      </mt-swipe-item>
      <mt-swipe-item>
        <a href="http://www.baidu.com">
          <img :src="src2">
        </a>
      </mt-swipe-item>
    </mt-swipe>
  </div>
</template>
<script>
  import src1 from './slider1-1.png'
  import src2 from './slider1-2.png'
  export default {
    data () {
      return {
        src1: src1,
        src2: src2
      }
    }
  }
</script>
<style>
  .mint-swipe {
    width: 100%;
    height: 2.42rem !important;
  }

  .mint-swipe-item {
    width: 100%;
    height: 2.42rem !important;
  }

  .mint-swipe-item a {
    display: block;
    width: 100%;
    height: 100%;
  }
  .mint-swipe-item a img {
    width: 100%;
    height: 100%;
  }

  .mint-swipe .mint-swipe-indicators .mint-swipe-indicator {
    border: 2px solid #5e88ff;
    background-color: transparent;
    width: 0.2rem;
    height: 0.2rem;
    opacity: 1 !important;
  }

  .mint-swipe .mint-swipe-indicators .is-active {
    background-color: #5e88ff;
  }
</style>
